#!/bin/bash

docker run -d --name aria2 --restart unless-stopped \
--log-opt max-size=1m \
-e PUID=$UID -e PGID=$GID \
-e UMASK_SET=022 \
-e RPC_SECRET=1813033378 \
-e RPC_PORT=6800 \
-e LISTEN_PORT=6888 \
-p 16800:6800 \
-p 16888:6888 \
-p 16888:6888/udp \
-v /mnt/temp/ssd/docker/date/aria2/config:/config \
-v /mnt/temp/ssd/downloads:/downloads  p3terx/aria2-pro